This event is fired when the contents of the object selected are changed.
Syntax
Inline HTML |
<eibus:select id=comboID onchange="handler()"...> ... ... ... </eibus:select> |
Event property |
comboID.onchange = handler |
To invoke |
Change the item displayed in the combo box. |
Default Action |
Initiates any action associated with this event. |
Event Object Properties
Although event handlers in the DHTML Object Model do not receive parameters directly, a handler can query an event object for data.
Property |
Description |
option |
Read-only. Object that denotes the item that is currently selected in the combo box. |
selectedIndex |
Read-only. Integer that denotes the index of item selected. |
text |
Read-only. String that contains the text displayed in the selected item. |
value |
Read-only. String that contains the value of the selected item. |
See Also
combo